(function(){
	angular.module('app').directive('jqScroll', [function () {
		return {
			restrict: 'A',
			scope:{
				jqScrollTheme: '='
			},
			link: function (scope, iElement, iAttrs) {

				$(iElement).mCustomScrollbar({
					theme: scope.jqScrollTheme || 'minimal-dark'
				});
			}
		};
	}])
})();